Implementing CREATE

您所在的位置:网站首页 ODATA CREATE_STREAM Implementing CREATE

Implementing CREATE

2023-09-08 13:32| 来源: 网络整理| 查看: 265

The type ty_s_so consists of a structure of type zcl_z_epm_rkt_mpc=>ts_salesorder (which in turn is of type BAPI_EPM_SO_HEADER) and a table type of made up of structure zcl_z_epm_rkt_mpc=>ts_salesorderitem (which is turn is of type BAPI_EPM_SO_ITEM). Declare a structure variable ls_so using type ty_s_so, which is used to capture the sales order header data along with the multiple line items passed into the method. Then the data is broken up into the required header and item data structures needed as input for function BAPI_EPM_SO_CREATE.

Upon success, the created sales order entity along with its corresponding line items are read and sent back to the consumer in the response body.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3